sninfo lsnodestatus
使用 sninfo lsnodestatus 命令可显示有关节点的当前信息。
语法
参数
无
描述
此命令用于列出有关 IBM Spectrum Virtualize for Public Cloud 实施的节点状态的详细信息。
下表提供可显示为输出视图数据的属性值。
| 属性 | 描述 |
|---|---|
| panel_name | 指示节点面板名称。 |
| host_serial_number | 指示系统 Web 页面上指示的序列号。 |
| host_instance_id | 指示 Amazon Web Service (AWS) 实例标识。 |
| host_name | 指示节点服务器的主机名。 |
| current_host_type | 指示当前 AWS EC2 实例类型。 |
| installed_host_type | 指示节点上安装的第一个 AWS EC2 实例类型。 |
| serviceip | 指示当前节点服务 IP 地址。 |
| node_status | 指示正在运行的节点状态。IBM Cloud™ 实施的状态值为:
|
| url | 此 URL 提供 IBM Cloud 中裸机服务器或 AWS 中的 Docker 主机实例的详细信息。对于 AWS,该值由 host_instance_id 和从 AWS API 获取的 VM 区域组成。 |
| version | 指示当前节点的版本。对于 IBM Cloud 实施,该值为空白。 |
| info | 指示节点的主机端错误或警告信息。 |
注: 当 node_status 不是 running 时,所有其他字段均为空白,但 node_status 除外。在非 AWS 环境中,host_instance_id、host_name 和 url 字段始终为空。
调用示例
sninfo lsnodestatus
将显示以下输出:
panel_name: B017V7X
host_serial_number: SL017V7X
host_name: bm02
current_host_type: c5.4xlarge
installed_host_type: c5.9xlarge
serviceip: 10.112.17.35
node_status: active
url: https://cloud.ibm.com/classic/devices/details/510763
调用示例
sninfo lsnodestatus
将显示以下输出:
panel_name: B0WEST1
host_instance_id: i-0f57974b8a3cc1b05
host_name: ip-172-31-31-198.us-west-2.compute.internal
current_host_type: c5.4xlarge
installed_host_type: c5.9xlarge
serviceip: 10.112.17.35
node_status: running
url: https://us-west-2.console.aws.amazon.com/ec2/v2/home?region=us-west-2#Instances:instanceId=i-0f57974b8a3cc1b05
version: 8.1.3.1-143.5.0000000000000
调用示例
sninfo lsnodestatus
将显示以下输出:
panel_name:
host_instance_id: i-0e3b36fa8b3994bff
host_name: ip-172-31-31-167.us-west-2.compute.internal
current_host_type: c5.4xlarge
installed_host_type: c5.9xlarge
serviceip:
node_status: stopped
url: https://us-west-2.console.aws.amazon.com/ec2/v2/home?region=us-west-2#Instances:instanceId=i-0e3b36fa8b3994bff
version:
info: CMMSV1081E The AWS EC2 instance type can not be changed from the first installed type c5.9xlarge to target type c5.4xlarge.
